package net.eliasbalasis.eclipse.rcp.jnlp.generator.jet.compiled;

import org.eclipse.jet.JET2Context;
import org.eclipse.jet.JET2Template;
import org.eclipse.jet.JET2Writer;
import org.eclipse.jet.taglib.RuntimeTagElement;
import org.eclipse.jet.taglib.TagInfo;
import java.util.*;
import java.io.*;

public class _jet_mainjnlp implements JET2Template {
    private static final String _jetns_c = "org.eclipse.jet.controlTags"; //$NON-NLS-1$

    public _jet_mainjnlp() {
        super();
    }

    private static final String NL = System.getProperty("line.separator"); //$NON-NLS-1$
    
    private static final TagInfo _td_c_setVariable_2_1 = new TagInfo("c:setVariable", //$NON-NLS-1$
            2, 1,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "/root/@exportFolder", //$NON-NLS-1$
                "exportFolder", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_32_70 = new TagInfo("c:get", //$NON-NLS-1$
            32, 70,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/@version", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_35_10 = new TagInfo("c:get", //$NON-NLS-1$
            35, 10,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/@title", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_36_11 = new TagInfo("c:get", //$NON-NLS-1$
            36, 11,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/@vendor", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_37_16 = new TagInfo("c:get", //$NON-NLS-1$
            37, 16,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/description", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_80_3 = new TagInfo("c:iterate", //$NON-NLS-1$
            80, 3,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/plugins/pluginRef/@idRef", //$NON-NLS-1$
                "pluginIdRef", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_81_4 = new TagInfo("c:iterate", //$NON-NLS-1$
            81, 4,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "/root/plugin[@id=$pluginIdRef]/@regex", //$NON-NLS-1$
                "pluginRegex", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_100_3 = new TagInfo("c:iterate", //$NON-NLS-1$
            100, 3,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/features/featureRef/@idRef", //$NON-NLS-1$
                "featureIdRef", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_iterate_101_4 = new TagInfo("c:iterate", //$NON-NLS-1$
            101, 4,
            new String[] {
                "select", //$NON-NLS-1$
                "var", //$NON-NLS-1$
            },
            new String[] {
                "/root/feature[@id=$featureIdRef]/@regex", //$NON-NLS-1$
                "featureRegex", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_110_68 = new TagInfo("c:get", //$NON-NLS-1$
            110, 68,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/feature[@id=$featureIdRef]/@name", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_122_11 = new TagInfo("c:get", //$NON-NLS-1$
            122, 11,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/productID", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_124_11 = new TagInfo("c:get", //$NON-NLS-1$
            124, 11,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/main/applicationID", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_130_18 = new TagInfo("c:get", //$NON-NLS-1$
            130, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/@j2se", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_135_18 = new TagInfo("c:get", //$NON-NLS-1$
            135, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/@j2se", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_138_18 = new TagInfo("c:get", //$NON-NLS-1$
            138, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/@j2se", //$NON-NLS-1$
            } );
    private static final TagInfo _td_c_get_141_18 = new TagInfo("c:get", //$NON-NLS-1$
            141, 18,
            new String[] {
                "select", //$NON-NLS-1$
            },
            new String[] {
                "/root/@j2se", //$NON-NLS-1$
            } );

    public void generate(final JET2Context context, final JET2Writer __out) {
        JET2Writer out = __out;
        RuntimeTagElement _jettag_c_setVariable_2_1 = context.getTagFactory().createRuntimeTag(_jetns_c, "setVariable", "c:setVariable", _td_c_setVariable_2_1); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_setVariable_2_1.setRuntimeParent(null);
        _jettag_c_setVariable_2_1.setTagInfo(_td_c_setVariable_2_1);
        _jettag_c_setVariable_2_1.doStart(context, out);
        _jettag_c_setVariable_2_1.doEnd();
        out.write(NL);         
        out.write("<%@ page language=\"java\" contentType=\"application/x-java-jnlp-file\" pageEncoding=\"UTF-8\"%>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("<%@ page import=\"java.net.URL\"%>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("<%");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tURL requestURL = new URL(new String(request.getRequestURL()));");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tString codeBase =");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\trequestURL.getProtocol()+");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\"://\"+");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\trequestURL.getAuthority();");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tString appURLString =");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\trequestURL.getProtocol()+");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\"://\"+");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\trequestURL.getAuthority();");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tString [] urlParts = requestURL.getPath().split(\"/\");");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tint numParts = 0;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\tfor (String urlPart : urlParts) {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\tif (urlPart.isEmpty()) {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tcontinue;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t}");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\tif (numParts==0) {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tappURLString = appURLString.concat(\"/\"+urlPart);");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t}");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\tif (numParts<urlParts.length-2) {");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tcodeBase = codeBase.concat(\"/\"+urlPart);");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t}");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t++numParts;");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t}");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("%>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("<jnlp spec=\"1.0+\" codebase=\"<%=codeBase%>\" href=\"main.jnlp\" version=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_32_70 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_32_70); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_32_70.setRuntimeParent(null);
        _jettag_c_get_32_70.setTagInfo(_td_c_get_32_70);
        _jettag_c_get_32_70.doStart(context, out);
        _jettag_c_get_32_70.doEnd();
        out.write("\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<information>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<title>");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_35_10 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_35_10); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_35_10.setRuntimeParent(null);
        _jettag_c_get_35_10.setTagInfo(_td_c_get_35_10);
        _jettag_c_get_35_10.doStart(context, out);
        _jettag_c_get_35_10.doEnd();
        out.write("</title>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<vendor>");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_36_11 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_36_11); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_36_11.setRuntimeParent(null);
        _jettag_c_get_36_11.setTagInfo(_td_c_get_36_11);
        _jettag_c_get_36_11.doStart(context, out);
        _jettag_c_get_36_11.doEnd();
        out.write("</vendor>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<description>");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_37_16 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_37_16); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_37_16.setRuntimeParent(null);
        _jettag_c_get_37_16.setTagInfo(_td_c_get_37_16);
        _jettag_c_get_37_16.doStart(context, out);
        _jettag_c_get_37_16.doEnd();
        out.write("</description>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<homepage href=\"<%=appURLString%>\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</information>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<security>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<all-permissions />");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</security>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<%-- The name of the main class to execute. This does not change--%>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t<application-desc main-class=\"org.eclipse.equinox.launcher.WebStartMain\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<argument>-nosplash</argument>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</application-desc>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<resources>");  //$NON-NLS-1$        
        out.write(NL);         

		Set exportFolderNodeSet = (Set)context.getVariables().get("exportFolder");
		String exportFolderString = exportFolderNodeSet.toArray()[0].toString().split("=")[1];

		String resourceRawLocation =
			(String)context.getVariables().get("org.eclipse.jet.resource.rawLocation");
		String resourceWorkspaceLocation =
			context.getVariables().get("org.eclipse.jet.resource.project.name")+
			"/"+
			context.getVariables().get("org.eclipse.jet.resource.projectRelativePath");
		int positionOfResourceWorkspaceLocation =
			resourceRawLocation.indexOf(resourceWorkspaceLocation);
		String resourceProjectRawLocation =
			resourceRawLocation.substring(0,positionOfResourceWorkspaceLocation);
		String exportedPluginsFolderString = 
			resourceProjectRawLocation+
			context.getVariables().get("org.eclipse.jet.resource.project.name")+
			"/"+
			exportFolderString+
			"/"+
			"plugins";
		String exportedFeaturesFolderString =
			resourceProjectRawLocation+
			context.getVariables().get("org.eclipse.jet.resource.project.name")+
			"/"+
			exportFolderString+
			"/"+
			"features";
		
        RuntimeTagElement _jettag_c_iterate_80_3 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_80_3); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_iterate_80_3.setRuntimeParent(null);
        _jettag_c_iterate_80_3.setTagInfo(_td_c_iterate_80_3);
        _jettag_c_iterate_80_3.doStart(context, out);
        while (_jettag_c_iterate_80_3.okToProcessBody()) {
            RuntimeTagElement _jettag_c_iterate_81_4 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_81_4); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_81_4.setRuntimeParent(_jettag_c_iterate_80_3);
            _jettag_c_iterate_81_4.setTagInfo(_td_c_iterate_81_4);
            _jettag_c_iterate_81_4.doStart(context, out);
            while (_jettag_c_iterate_81_4.okToProcessBody()) {
        
        				String pluginRegexString = context.getVariables().get("pluginRegex").toString().split("=")[1];
        				
        
        				File exportedPluginsFolder = new File(exportedPluginsFolderString);
        				for (File file : exportedPluginsFolder.listFiles()) {
        					if (file.getName().matches(pluginRegexString)) {
        				
                out.write("\t\t<jar href=\"<%=codeBase%>/plugins/");  //$NON-NLS-1$        
                out.write(file.getName());
                out.write("\"/>");  //$NON-NLS-1$        
                out.write(NL);         
        
        					}
        				
        
        				}
        				
                _jettag_c_iterate_81_4.handleBodyContent(out);
            }
            _jettag_c_iterate_81_4.doEnd();
            _jettag_c_iterate_80_3.handleBodyContent(out);
        }
        _jettag_c_iterate_80_3.doEnd();
        out.write(NL);         
        RuntimeTagElement _jettag_c_iterate_100_3 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_100_3); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_iterate_100_3.setRuntimeParent(null);
        _jettag_c_iterate_100_3.setTagInfo(_td_c_iterate_100_3);
        _jettag_c_iterate_100_3.doStart(context, out);
        while (_jettag_c_iterate_100_3.okToProcessBody()) {
            RuntimeTagElement _jettag_c_iterate_101_4 = context.getTagFactory().createRuntimeTag(_jetns_c, "iterate", "c:iterate", _td_c_iterate_101_4); //$NON-NLS-1$ //$NON-NLS-2$
            _jettag_c_iterate_101_4.setRuntimeParent(_jettag_c_iterate_100_3);
            _jettag_c_iterate_101_4.setTagInfo(_td_c_iterate_101_4);
            _jettag_c_iterate_101_4.doStart(context, out);
            while (_jettag_c_iterate_101_4.okToProcessBody()) {
        
        				String featureRegexString = context.getVariables().get("featureRegex").toString().split("=")[1];
        				String extensionRef = null;
        				File exportedFeaturesFolder = new File(exportedFeaturesFolderString);
        				for (File file : exportedFeaturesFolder.listFiles()) {
        					if (file.getName().matches(featureRegexString)) {
        						extensionRef = file.getName().replaceAll("[.]jar$","")+".jnlp";
        				
                out.write("\t\t<extension href=\"<%=codeBase%>/features/");  //$NON-NLS-1$        
                out.write(extensionRef);
                out.write("\" name=\"");  //$NON-NLS-1$        
                RuntimeTagElement _jettag_c_get_110_68 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_110_68); //$NON-NLS-1$ //$NON-NLS-2$
                _jettag_c_get_110_68.setRuntimeParent(_jettag_c_iterate_101_4);
                _jettag_c_get_110_68.setTagInfo(_td_c_get_110_68);
                _jettag_c_get_110_68.doStart(context, out);
                _jettag_c_get_110_68.doEnd();
                out.write("\"/>");  //$NON-NLS-1$        
                out.write(NL);         
        
        					}
        				
        
        				}
        				
                _jettag_c_iterate_101_4.handleBodyContent(out);
            }
            _jettag_c_iterate_101_4.doEnd();
            _jettag_c_iterate_100_3.handleBodyContent(out);
        }
        _jettag_c_iterate_100_3.doEnd();
        out.write(NL);         
        out.write("    \t<%-- OSGi configuration --%>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<property name=\"eclipse.product\"");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tvalue=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_122_11 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_122_11); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_122_11.setRuntimeParent(null);
        _jettag_c_get_122_11.setTagInfo(_td_c_get_122_11);
        _jettag_c_get_122_11.doStart(context, out);
        _jettag_c_get_122_11.doEnd();
        out.write("\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<property name=\"eclipse.application\"");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tvalue=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_124_11 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_124_11); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_124_11.setRuntimeParent(null);
        _jettag_c_get_124_11.setTagInfo(_td_c_get_124_11);
        _jettag_c_get_124_11.doStart(context, out);
        _jettag_c_get_124_11.doEnd();
        out.write("\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<property name=\"net.eliasbalasis.finance.tradingplatform.client.main.server.baseURL\"");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t\tvalue=\"<%=appURLString%>\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</resources>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<resources os=\"Windows\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<j2se version=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_130_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_130_18); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_130_18.setRuntimeParent(null);
        _jettag_c_get_130_18.setTagInfo(_td_c_get_130_18);
        _jettag_c_get_130_18.doStart(context, out);
        _jettag_c_get_130_18.doEnd();
        out.write("\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<property name=\"osgi.instance.area\" value=\"@user.home/Application Data/net.eliasbalasis.finance.tradingplatform\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<property name=\"osgi.configuration.area\" value=\"@user.home/Application Data/net.eliasbalasis.finance.tradingplatform\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</resources>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t<resources os=\"Mac\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<j2se version=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_135_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_135_18); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_135_18.setRuntimeParent(null);
        _jettag_c_get_135_18.setTagInfo(_td_c_get_135_18);
        _jettag_c_get_135_18.doStart(context, out);
        _jettag_c_get_135_18.doEnd();
        out.write("\" java-vm-args=\"-XstartOnFirstThread\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</resources>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t<resources os=\"Windows\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<j2se version=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_138_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_138_18); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_138_18.setRuntimeParent(null);
        _jettag_c_get_138_18.setTagInfo(_td_c_get_138_18);
        _jettag_c_get_138_18.doStart(context, out);
        _jettag_c_get_138_18.doEnd();
        out.write("\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</resources>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t<resources os=\"Linux\">");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t\t<j2se version=\"");  //$NON-NLS-1$        
        RuntimeTagElement _jettag_c_get_141_18 = context.getTagFactory().createRuntimeTag(_jetns_c, "get", "c:get", _td_c_get_141_18); //$NON-NLS-1$ //$NON-NLS-2$
        _jettag_c_get_141_18.setRuntimeParent(null);
        _jettag_c_get_141_18.setTagInfo(_td_c_get_141_18);
        _jettag_c_get_141_18.doStart(context, out);
        _jettag_c_get_141_18.doEnd();
        out.write("\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write("\t</resources>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("\t<update check=\"always\"/>");  //$NON-NLS-1$        
        out.write(NL);         
        out.write(NL);         
        out.write("</jnlp>");  //$NON-NLS-1$        
        out.write(NL);         
    }
}
